package io.github.wslxm.springbootplus2.manage.test.model.dto;

import io.github.wslxm.springbootplus2.core.base.model.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import java.time.LocalDateTime;

/**
 * base--gc--代码生成测试表 DTO
 *
 * <p>
 * ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
 * </p>

 * @author ws
 * @email 1720696548@qq.com
 * @date 2023-08-28 14:43:41
 */
@Data
@ToString(callSuper = true)
@ApiModel(value = "GcTestDTO 对象", description = "base--gc--代码生成测试表")
public class GcTestDTO extends BaseDto {

    private static final long serialVersionUID = -1696050906258894848L;
    
    @ApiModelProperty(value = "名称 " )
    @Length(min=0, max=64)
    private String name;

    @ApiModelProperty(value = "年龄 " )
    @DecimalMin(value="0")
    @DecimalMax(value="9999999999.99")
    private Double age;

    @ApiModelProperty(value = "性别 " )
    @Range(min=0L, max=9L)
    private Integer sex;

    @ApiModelProperty(value = "爱好 " )
    @Length(min=0, max=64)
    private String like;

    @ApiModelProperty(value = "城市 " )
    @Range(min=0L, max=9L)
    private Integer city;

    @ApiModelProperty(value = "禁用 " )
    @Range(min=0L, max=9L)
    private Integer disable;

    @ApiModelProperty(value = "单图文件" )
    @Length(min=0, max=256)
    private String headUrl;

    @ApiModelProperty(value = "多图文件 " )
    @Length(min=0, max=1024)
    private String headFiles;

    @ApiModelProperty(value = "视频文件 " )
    @Length(min=0, max=1024)
    private String videoFiles;

    @ApiModelProperty(value = "任意文件 " )
    @Length(min=0, max=1024)
    private String files;

    @ApiModelProperty(value = "时间 " )
    private LocalDateTime time;

    @ApiModelProperty(value = "时间-小时 " )
    @Length(min=0, max=16)
    private String timeTwo;

    @ApiModelProperty(value = "更多信息-text " )
    @Length(min=0, max=128)
    private String text;

    @ApiModelProperty(value = "更多信息-fwb " )
    @Length(min=0, max=999)
    private String textTwo;

    @ApiModelProperty(value = "更多信息-md " )
    @Length(min=0, max=999)
    private String textThree;

    @ApiModelProperty(value = "级联选择器  " )
    @Length(min=0, max=256)
    private String cascader;

    @ApiModelProperty(value = "数组框 " )
    @Length(min=0, max=256)
    private String array;

    @ApiModelProperty(value = "图标 " )
    @Length(min=0, max=256)
    private String icon;

    @ApiModelProperty(value = "颜色选择器" )
    @Length(min=0, max=256)
    private String color;

    @ApiModelProperty(value = "地址选择器" )
    @Length(min=0, max=256)
    private String map;

}

